/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package eypweb_bsc;

/**
 *
 * @author Kohalmi Istvan 
 */

// adatbazis elereshez szukseges
// informaciokat tartalmaz
public class AccessInfo {

    // DBMS portszam
    private int port;
    // DBMS IP cime
    private String ipAddress;
    // felhasznalonev
    private String user;
    // jelszo
    private String pass;
    // adatbazisnev
    private String dbName;
    // aktiv vagyonkezelo azonositoja
    private int trusteeId;
    // aktiv vagyonkezelo csoportos azonositoja
    private int trusteeSign;
    // aktic cagoynkezelo neve
    private String trusteeName;

    public AccessInfo() {
    }

    public AccessInfo(String ip, int po, String db, String u, String p) {
        ipAddress = ip;
        port = po;
        user = u;
        pass = p;
        dbName=db;
    }

    public String getUser() {
        return user;
    }

    public String getPass() {
        return pass;
    }
    
    public String getDBName(){
        return dbName;
    }
    
    public String getIPAddress(){
        return ipAddress;
    }
    
    public int getPort()
    {
        return port;
    }

    /**
     * @return the trusteeId
     */
    public int getTrusteeId() {
        return trusteeId;
    }

    /**
     * @param trusteeId the trusteeId to set
     */
    public void setTrusteeId(int trusteeId) {
        this.trusteeId = trusteeId;
    }

    /**
     * @return the trusteeSign
     */
    public int getTrusteeSign() {
        return trusteeSign;
    }

    /**
     * @param trusteeSign the trusteeSign to set
     */
    public void setTrusteeSign(int trusteeSign) {
        this.trusteeSign = trusteeSign;
    }

    /**
     * @return the trusteeName
     */
    public String getTrusteeName() {
        return trusteeName;
    }

    /**
     * @param trusteeName the trusteeName to set
     */
    public void setTrusteeName(String trusteeName) {
        this.trusteeName = trusteeName;
    }
}
